<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>列表demo</title>
<script type="text/javascript" src="${pageContext.request.contextPath}/jvc/js/jvc.js"></script>
<link href="${pageContext.request.contextPath}/jvc/css/blue/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	jvc.include("jvc.data");
	jvc.include("jvc.window");		

	jvc.init("main()");
	function main(){
		jvc.data.submit2($$("userform"),$$("data"),$$("page"));
	}
</script>
</head>
<body>
	<form name="userform" json="${pageContext.request.contextPath}/user.page?cmd=query" method="post" action="">
		username:<input name="query.userName.like" value=""  />
	</form>
	<table class="tablebox" width="100%" jvc.ui.type="sorttable">
		<thead>
			<tr>
				<th width="20%">序号</th>
				<th width="20%">编号</th>
				<th width="20%">用户名</th>
				<th width="20%">用户组</th>
				<th width="20%">操作</th>
			</tr>
		</thead>
		<tbody id="data">
			<tr style="display: none">
				<td fld="row"></td>
				<td fld="userId"></td>
				<td fld="userName"></td>
				<td fld="groupName"></td>
				<td><a href="javascript:jvc.window.openModal('/jsp/update.jsp?userId=@userId','标题',280,200);">修改</td>
			</tr>
		</tbody>
	</table>
	<div id="page" align=right></div>
</body>
</html>